package com.numone.testble.ble;

import android.text.TextUtils;

public class BleEntity {
    private int id;
    private String name;
    private String mac;
    private int rssi;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        if(TextUtils.isEmpty(name)){
            return name = "";
        }
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public int getRssi() {
        return rssi;
    }

    public void setRssi(int rssi) {
        this.rssi = rssi;
    }
}
